<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/view/jsp/base.jsp" %>
<html lang="en">

<body class="wysihtml5-supported">
	<div id="content">
		<div class="container-fluid" >
			<div class="row-fluid">
				<div class="span12">
					<div class="widget-box">
						<div class="widget-title">
							<h5>查询</h5>
						</div>
						<div class="widget-content nopadding">
							<form id="userForm2" action="<%=path %>/user/detail" method="post" onsubmit="return C.toVail($(this))" class="form-horizontal">
								<div class="flexbox">
										<div class="flex-item">
											<label>userId :</label>
											<input type="text" class="span4" name="userId" placeholder="用户ID">
											<span class="error_msg" name="error_userId"></span> 
										</div>									
								</div>
								<div class="form-actions">
									<button type="submit" class="btn btn-success" style="float:right">查询</button>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
					<div class="widget-box">
						<div class="widget-title">
							<h5>查询</h5>
						</div>
						<div class="widget-content nopadding">
							<form id="userForm1" action="<%=path %>/user/list" method="post" onsubmit="return C.toVail($(this))" class="form-horizontal">
								<div class="flexbox">
									
									<div class="flex-item">
										<label>userName :</label>
										<input type="text" class="span4" name="userName" placeholder="用户名称 ">
										<span class="error_msg" name="error_userName"></span> 
									</div>	
									<div class="flex-item">
										<label>certNo :</label>
										<input type="text" class="span4" name="certNo" placeholder="身份证号码">
										<span class="error_msg" name="error_certNo"></span> 
									</div>
								</div>
								<div class="form-actions">
									<button type="submit" class="btn btn-success" style="float:right">查询</button>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
	<script>
	$(document).ready(function(){
		var result = "${param.result}";
		if(result=="null"){
		    C.gritter("无查询结果");
		}
	});

	</script>
</html>

